Skip to content

Retry readiness probes that outlast a short timeout (#344) - #345

Open
lucbocahut wants to merge 1 commit into
mainfrom
fix/readiness-probe-timeout
Open

lucbocahut wants to merge 1 commit into
mainfrom
fix/readiness-probe-timeout

Conversation

@lucbocahut

Copy link
Copy Markdown
Contributor

Closes #344

  • wait_mirror and wait_registry now share wait_service. Each probe gets the remaining overall deadline (90 s) instead of a fixed 5 s, and a TimeoutExpired is retried instead of aborting the update.
  • host_setup includes the underlying error in "Host command failed (...)".
  • Test: a slow first probe is retried and succeeds.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4

Each probe opens and integrity-checks the store. At 1.1 GB that takes
over five seconds, so the fixed per-probe timeout aborted updates.

Closes #344

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

forge update fails: readiness probes time out on a large store

1 participant